package com.jiezhuo.mapper.center;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiezhuo.easyExcel.entity.TeacherExcel;
import com.jiezhuo.entity.cmeduSchool.TJzg;
import com.jiezhuo.entity.jzg.JzgVO;
import com.jiezhuo.entity.jzg.UserListVo;
import com.jiezhuo.utils.R;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-12-23
 */
public interface TJzgMapper extends BaseMapper<TJzg> {

    /**
     * <p>
     * Mapper 接口
     * </p>
     *
     * @author com.jiezhuo
     * @since 2024-06-05
     */


    List<HashMap<String, Object>> getOnGuardFaculty(JzgVO jzgVO);

    int getOnGuardFacultyCount(JzgVO jzgVO);

    HashMap<String, Object> getOnGuardFacultyInfo(JzgVO jzgVO);

    boolean getCard(@Param("sfzjh") String sfzjh);

    HashMap<String, Object> getCardInfo(String sfzjh);

    String selectMaxId();

    boolean updateFacultyId(TJzg tJzg);

    ArrayList<HashMap<String, Object>> getUserList(UserListVo userListVo);

    int getUuserCount(UserListVo userListVo);

    List<TeacherExcel> getTeacherExcel(JzgVO jzgVO);


    List<Map<String, Object>> jssUserSaveLoad(String teacherId);
}
